﻿<Window x:Class="QLab.frmTextInput"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Title" Height="auto" Width="550" FontSize="12" MaxHeight="130"
        WindowStartupLocation="CenterScreen">

    <Grid Margin="10 10 10 10">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition />
            <ColumnDefinition Width="auto"/>
        </Grid.ColumnDefinitions>

        <Label Grid.Row="0" Grid.Column="0">Name:</Label>
        <TextBox Grid.Row="0" Grid.Column="1" Name="txtText" Text="" VerticalAlignment="Center"/>

        <Separator Grid.Row="1" Grid.ColumnSpan="3" Margin="0 2" />

        <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="3" HorizontalAlignment="Right">
            <Button x:Name="btnOk" Content="OK" Width="75" Height="25" Margin="5 0" Click="btnOk_OnClick" />
            <Button x:Name="btnCancel" Content="Cancel" Width="75" Height="25" Margin="5 0" IsCancel="True"/>
        </StackPanel>
    </Grid>

</Window>

